package com.venutech.gongan.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.venutech.gongan.entity.Jkxt;
import com.venutech.gongan.model.ResultFormat;

import java.util.List;

public interface JkxtService {
    //插入数据
    ResultFormat insert(Jkxt jkxt);

    //根据ID删除对象
    int deleteById(Integer jk_id);

    //根据ID返回对象
    Jkxt getById(Integer jk_id);

    //修改对象信息
    int updateJkxt(Jkxt jkxt);

    //查询所有数据
    List<Jkxt> getSelectAll();

    //分页查询
    Page<Jkxt> getInfo(Integer pageNo, Integer pageSize, String begintime, String endtime,
                       String badw, String jk_name);
}
